Handheld electronic device and camera providing flash compensation of images, and associated method

ABSTRACT

An improved handheld electronic device and camera apparatus upon which can be executed an improved method enable a modular camera to be used in conjunction with a flash. In one implementation, compensation parameters that are intended for use in a non-flash situation are overwritten with compensation parameters that are configured to compensate for the combined effects of the camera and the flash and are used by an embedded compensation routine executed on the camera. In another implementation, an image signal is processed by the embedded compensation routine using the original compensation parameters, but if it is determined that the image signal is a flash image signal, the image signal is further processed by the embedded compensation routine employing an additional set of parameters which compensate the image signal for the effect of the flash.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No.11/626,994 filed Jan. 25, 2007 the contents of which are incorporated byreference in their entirety.

FIELD

The disclosed and claimed concept relates generally to handheldelectronic devices and, more particularly, to a handheld electronicdevice and camera that provide compensation for a flash in theprocessing of images, and an associated method.

DESCRIPTION OF THE RELATED ART

Numerous types of handheld electronic devices are known. Examples ofsuch handheld electronic devices include, for instance, personal dataassistants (PDAs), handheld computers, two-way pagers, cellulartelephones, and the like. Many handheld electronic devices also featurewireless communication capability, although many such handheldelectronic devices are stand-alone devices that are functional withoutcommunication with other devices.

Some handheld electronic devices and other electronic devices employsmall cameras which can take photographs that are then stored on theelectronic device. Such cameras typically comprise a camera lens, asensor, and a processor system that are manufactured and sold as amodular unit. That is, the sensor receives light through the camera lensand provides an image signal to an embedded program stored and executedon the processor system in order to process the image in various ways.For instance, the image might be processed to compensate for variousshortcomings of the camera lens. Such shortcomings might include thereflective and diffractive aspects of the camera lens that becomepronounced at the edges of the camera lens.

While such cameras have been generally effective for their intendedpurposes, such cameras have not however, been without limitation. Acamera typically has only a limited ability to detect light and often isof limited usefulness in low light conditions. Since a camera flashtypically produces light of varying intensity and spectrum across aregion of illumination, an embedded program executed on a processorsystem of a camera and employing compensation parameters tailored foruse of a camera alone, i.e., without a flash, can produce unpredictableimage processing results. Such unpredictable image processing resultsare further made unpredictable due to the wide variety of camera flashand flash lens configurations that are possible. It thus would bedesirable to enable a modular camera, such as would be incorporated intoa handheld electronic device, to be more usable in low light conditions.

BRIEF DESCRIPTION OF THE DRAWINGS

A full understanding of the disclosed and claimed concept can beobtained from the following Description when read in conjunction withthe accompanying drawings in which:

FIG. 1 is a front elevational view of an exemplary handheld electronicdevice in accordance with the disclosed and claimed concept upon whichis performed an improved method in accordance with the disclosed andclaimed concept;

FIG. 2 is a schematic depiction of the handheld electronic device ofFIG. 1;

FIG. 3 is a schematic depiction of a camera apparatus in accordance withthe disclosed and claimed concept that can be incorporated into thehandheld electronic device of FIG. 1;

FIG. 4 is a schematic top plan view of a flash of the camera apparatusof FIG. 3;

FIG. 5 is a sectional view as taken along line 5-5 of FIG. 4;

FIG. 6 is a schematic view of an exemplary sensor of the cameraapparatus of FIG. 3 and an exemplary set of scalar compensationparameters configured to compensate an image signal for signalvariations attributable to a camera lens;

FIG. 7 is a schematic view of an exemplary sensor of the cameraapparatus of FIG. 3 and an exemplary set of scalar compensationparameters configured to compensate an image signal for signalvariations attributable to a camera lens and a flash lens incombination;

FIG. 8 is a schematic view of an exemplary sensor of the cameraapparatus of FIG. 3 and an exemplary set of scalar compensationparameters configured to compensate an image signal for signalvariations attributable to a flash lens;

FIG. 9 is a chart depicting an exemplary compensation curve comprised ofa plurality of line segments;

FIG. 10 is an exemplary flowchart of a portion of an improved method inaccordance with one embodiment of the disclosed and claimed concept; and

FIG. 11 is an exemplary flowchart of a portion of an improved method inaccordance with another embodiment of the disclosed and claimed concept.

DESCRIPTION

An improved handheld electronic device 4 in accordance with thedisclosed and claimed concept is indicated generally in FIG. 1 and isdepicted schematically in FIG. 2. The improved handheld electronicdevice 4 comprises a housing 6 upon which are disposed an inputapparatus 8, an output apparatus 12, and a processor apparatus 16. Theinput apparatus 8 provides input to the processor apparatus 16. Theprocessor apparatus 16 provides output signals to the output apparatus12.

The input apparatus 8 comprises a keypad 20 and a track wheel 24. Thekeypad 20 in the exemplary embodiment depicted herein comprises aplurality of keys 26 that are each actuatable to provide input to theprocessor apparatus 16. The track wheel 24 is rotatable to providenavigational and other input to the processor apparatus 16, andadditionally is translatable in the direction of the arrow 28 of FIG. 1to provide other input, such as selection inputs. The keys 26 and thethumbwheel 24 serve as input members which are actuatable to provideinput to the processor apparatus 16. The exemplary output apparatus 12comprises a display 32.

Examples of other input members not expressly depicted herein wouldinclude, for instance, a mouse or trackball for providing navigationalinputs, such as could be reflected by movement of a cursor on thedisplay 32, and other inputs such as selection inputs. Still otherexemplary input members would include a touch-sensitive display, astylus pen for making menu input selections on a touch-sensitive displaydisplaying menu options and/or soft buttons of a graphical userinterface (GUI), hard buttons disposed on a case of the handheldelectronic device 4, an so on. Examples of other output devices wouldinclude a touch-sensitive display, an audio speaker, and so on.

An exemplary mouse or trackball would likely advantageously be of a typethat provides various types of navigational inputs. For instance, amouse or trackball could provide navigational inputs in both verticaland horizontal directions with respect to the display 32, which canfacilitate input by the user.

The processor apparatus 16 comprises a processor 36 and a memory 40. Theprocessor 36 may be, for example and without limitation, amicroprocessor (μP) that interfaces with the memory 40. The memory 40can be any one or more of a variety of types of internal and/or externalstorage media such as, without limitation, RAM, ROM, EPROM(s),EEPROM(s), FLASH, and the like that provide a storage register for datastorage such as in the fashion of an internal storage area of acomputer, and can be volatile memory or nonvolatile memory. The memory40 has stored therein a number of routines 44 that are executable on theprocessor 36. As employed herein, the expression “a number of” andvariations thereof shall refer broadly to a nonzero quantity, includinga quantity of one.

The input apparatus 8 comprises a camera apparatus 52 disposed on thehousing 6. The camera apparatus 52 is considered to comprise a camera 56and a flash 60, although the camera 56 and the flash 60 can be separatecomponents. The camera 56 is a modular device that comprises a cameralens 64, a sensor 68, and a processor system 72. As employed herein, theexpression “modular” shall refer broadly to a self-contained device thatis, for instance, purchased and/or installed and/or operable in somefashion as a self-contained unit. As a general matter, the camera lens64 overlies the sensor 68 which is mounted to a printed circuit boardupon which is disposed the processor system 72. Other modularconfigurations can be employed without departing from the presentconcept.

The flash 60 comprises a flash lens 76 and a light source 80 thatsimilarly can be of a modular nature. The flash lens 76 typically is aFresnel lens that tends to direct light rays in a particular generaldirection. The exemplary light source 80 comprises a plurality of LEDs84. FIG. 4 depicts the exemplary light source 80 as comprising threeLEDs 84 aligned adjacent one another, although it is noted thatdifferent quantities and arrangements of LEDs 84 can be employed withoutdeparting from the present concept, and different LEDs or otherappropriate sources of electromagnetic energy can be employed hereinwithout limitation.

As can be understood from FIG. 5, each LED 84 comprises at least a firstdie 88, which is a silicon wafer which, when electrified, produceselectromagnetic energy. The LED 84 additionally includes anabsorption/emission layer 92 that overlies the die 88 and that is of athickness (T) 96 as measured in an on-axis direction 100, i.e., in adirection normal to the plane of the die 88. The electromagnetic energygenerated by the die 88 passes through and is at least partiallyabsorbed by the absorption/emission layer 92 which thereby becomesexcited and emits its own electromagnetic energy. In the instantexample, the electromagnetic energy generated by the die 88 includes,for example, various wavelengths of visible light. Theabsorption/emission layer 92 absorbs blue wavelengths of light and, whenexcited, emits yellow wavelengths of light. Electromagnetic energypassing from the die 88 through the absorption/emission layer 92 in theon-axis direction 100 will have a predetermined spectral compositionthat is a function of the amount of blue light that was absorbed in theabsorption/emission layer 92 and was converted into yellow wavelengthsof light due to excitation of the absorption/emission layer 92, as wellas the amount of blue wavelengths of light that passed through theabsorption/emission layer 92 without being absorbed. The LEDs 84 maythemselves may comprise additional components such as lenses, coatings,electrical connections, etc., which are not necessarily depicted herein.Moreover, it is noted that the LEDs 84 may be configured without theabsorption/emission layer 92, depending upon the needs of the particularapplication, without departing from the present concept.

However, if the die 88 is considered as a point source ofelectromagnetic energy, it also will produce electromagnetic energy thattravels in off-axis directions, such as is indicated by the exemplaryaxis 104. Electromagnetic energy passing through the absorption/emissionlayer 92 in an off-axis direction 104 travels through theabsorption/emission layer 92 a distance greater than the thickness (T).As a result, such off-axis electromagnetic radiation will have arelatively greater proportion of its blue light that is absorbed by theabsorption/emission layer 92 and converted into yellow light throughexcitation, and thus will have a relatively lesser quantity of bluelight that passes through the absorption/emission layer 92 without beingabsorbed. As a consequence, light that is progressively further off-axisfrom the on-axis direction 100 will have progressively greaterproportions of yellow spectra and lesser proportions of blue spectra, asa general matter. While the various light spectra generated by the LEDs84 are nevertheless directed by the flash lens 76 in a given directionto provide a region of illumination, the spectral makeup of the regionof illumination will have varying spectral compositions at variouslocations.

The sensor 68 is depicted in an exemplary fashion in FIGS. 6-8. FIG. 6depicts the sensor 68 as comprising a grid of sixty-four pixels 108 inan 8×8 layout, although it is understood that the sensor 68 typicallywill have many more pixels than are depicted in FIG. 6. The pixels 108comprise a plurality of R pixels 112, G pixels 116, and B pixels 120 ina Bayer layout. As is generally understood, the signals from the Gpixels 116 provide luminance data, while signals from the R pixels 112and B pixels 120 provide color data.

Each exemplary pixel 108 in FIG. 6 is also depicted as having assignedthereto an exemplary scalar compensation parameter 124 that is basedupon the characteristics of the camera 24 alone, i.e., without the flash60, and are primarily based upon the configuration of the camera lens64. As is depicted schematically in FIG. 3, the processor system 72 ofthe camera 56 comprises an image processor 136 upon which is executed anembedded storage routine 138. The processor system 72 additionallyincludes a plurality of storage registers 140 in which are stored thevarious compensation parameters for the camera lens, such as arerepresented by the compensation parameters 124 in FIG. 6. Suchcompensation parameters likely would have been derived experimentally bythe manufacturer of the camera 56 and stored in the storage registers140 for use by the embedded compensation routine 138 in order to processa non-flash image from the sensor 68. While the exemplary compensationparameters 124 are depicted as being scalar values, it is understoodthat the compensation parameters could be anything that would beemployable by the compensation routine 138 to process a non-flash signalfrom the sensor 68, i.e., they could comprise numerical values,algorithms, and the like without limitation.

As can further be seen from FIG. 6, many of the pixels 108 in thecentral regions of the sensor 68 are indicated as having assignedthereto a compensation parameter having an exemplary scalar value of1.0. Other pixels 108 in the peripheral regions have assigned thereto acompensation parameter 124 having an exemplary scalar value of 1.5, andstill other pixels 108 at the extreme peripheral regions have assignedthereto an exemplary scalar compensation parameter 124 having a value of2.0 or 2.5. These are representative, for example, of the relativedegree of image boosting that would be required for each of the variouspixels 108, it being understood that the signals from the central pixels108 require less boosting than the peripheral pixels 108.

This is due at least in part to the fact that the camera lens 64 directslight to such peripheral pixels at a more acute angle of incidence thanto those pixels 108 in the central regions of the sensor 68, with theresult that some of the impinging light at the peripheral pixels isreflected rather than being received and detected by the pixels, thusnecessitating a relatively greater degree of signal boost of the signalsreceived from pixels at the peripheral regions of the sensor 68. Suchreduced signal at the peripheral regions can additionally result fromthe fact that the camera lens 64 tends to refract to a relativelygreater extent the light that is directed toward the peripheral pixels108 than the light that is directed toward the central pixels 108, withthe result that certain wavelengths of light have an even greater degreeof reflection and mis-positioning with respect to the intended pixels108. In this regard, the compensation parameters for the various R, G,and B pixels 112, 116, and 120 can be selected based at least in partupon such varying diffractive properties of different wavelengths oflight.

An exemplary operation of the compensation routine 138 in the processingof an image would be as follows. The sensor 68 would generate a seriesof values, i.e., signal components, corresponding to the light intensitydetected by each pixel, with each pixel providing an intensity value forprocessing. The compensation routine 138 would determine, for eachintensity value from each pixel, the degree of compensation, i.e.,boost, that would be applied to each such signal component. Theresultant processed signal would then be output or would be transferredto another routine for other signal processing, by way of example. Asindicated above, however, the compensation parameters 124 provided bythe manufacturer of the camera 56 are pre-stored in the storageregisters 140 and are provided for use only in a non-flash application.As such, the camera-only compensation parameters 124 in isolation wouldbe unusable with a flash since a flash provides varying spectraldistributions and intensities across a region of illumination, asexplained above.

In accordance with the disclosed and claimed concept, however, adifferent set of compensation parameters, as are depicted in anexemplary fashion in FIG. 7, can be provided for use by the compensationroutine 138 and that are selected to provide compensation for thecombined effect of the particular camera 56 and the particular flash 60.Such compensation parameters 128 likely are derived experimentally byone intending to combine the camera 56 with the flash, such as themanufacturer of the handheld electronic device 4. The compensationparameters 128 are used to overwrite in the storage registers 140 thecompensation parameters 124 that are camera-only compensationparameters. Prior to such overwriting, the compensation parameters 128can be stored in other storage registers on the processor system 72 orcould be stored in the processor apparatus 16 of the handheld electronicdevice 4, by way of example.

When a flash image signal is to be processed, such overwriting of thecompensation parameters 124 by the compensation parameters 128 occurs,and such compensation parameters 128 are employed by the compensationroutine 138 in place of the compensation parameters 124 in processingthe flash image signal received from the sensor 68. Once the image hasbeen processed with the processing routine 138, the originalcompensation parameters 124 are rewritten to the storage registers 140,i.e., are used to overwrite the compensation parameters 128, in order toprepare the processor system 72 for the processing of a future non-flashimage signal.

In this regard, it is understood that the camera 56 of the cameraapparatus 52 often is employed as a viewfinder on the handheldelectronic device 4. The viewfinder typically operates in a non-flashfashion in order to conserve battery resources, and the flash is onlytriggered when it is desired to take a photograph that will ultimatelybe stored either on the processor system 72 or on the processorapparatus 16 of the handheld electronic device 4. As such, when a flashimage is required to be processed, the compensation parameters 128 areused to overwrite the compensation parameters 124 only for the time thatis required to process the flash image signal. Once the flash imagesignal has been processed, however, the original compensation parameters124, i.e., the non-flash compensation parameters, are rewritten to thestorage registers 140 in order to enable the camera 56 to be employed ina viewfinder operation.

By providing the compensation parameters 128 for use in a flashoperation, and by enabling such compensation parameters 128 to beemployed by the compensation routine 138 embedded in the processorsystem 72 on the camera 56, the modular nature of the camera 56 does notprevent the camera 56 from being used in conjunction with a flash 60.Rather, by providing the compensation parameters 128 as an adjunct tothe compensation parameters 124, the single compensation routine 138 canbe used to process both non-flash image signals and flash image signalssimply by selectively overwriting the compensation parameters stored inthe storage registers 140 in a fashion responsive to the occurrence of aflash operation. This advantageously enables a relatively inexpensivemodular camera 56 to be employed in a more versatile fashion than likelywas intended by the manufacturer of the camera 56.

In accordance with another embodiment of the disclosed and claimedconcept, an additional set of compensation parameters 132 are depictedin an exemplary fashion in FIG. 8 for use in association with the flash60. However, the additional compensation parameters 132 are provided tocompensate solely for the effect of the flash 60 and, more particularly,the flash lens 76, rather than the combined effect of the camera lens 64and the flash lens 76. As such, in the alternate embodiment theadditional compensation parameters 132 and the original compensationparameters 124 are both employed in processing a flash image signal.Specifically, the compensation parameters 124 stored in the storageregisters 140 are always employed by the compensation routine 138 inprocessing an image signal to provide compensation of signal variationsattributable to the camera 56. However, if it is determined that theimage signal is a flash image signal, the image signal is additionallyprocessed by the compensation routine 138 while employing the additionalcompensation parameters 132 of FIG. 8. Such additional processing usingthe compensation parameters 132 provide compensation of signalvariations attributable to the flash 60. As such, in the alternativeembodiment an image signal is, in effect, processed twice i.e., once tocompensate for the camera 56 and employing the original compensationparameters 124 in so doing, and again with the compensation routine 138to compensate for the effect of the flash 60 and employing theadditional compensation parameters 132.

A particular advantage of the alternative embodiment is that ofversatility. If a set of parameters are derived for a camera alone, anda separate set of parameters are derived for a flash alone, variouscameras can be arranged in various combinations with various flashes.That is, if each camera has its own set of individual compensationparameters, and if each flash has its own individual set of compensationparameters, any camera can be combined with any flash, and the resultingflash image signal will be dual-processed to compensate separately forthe camera and for the flash, which promotes a versatility. In thisregard, it would be unnecessary to derive an individual set ofcompensation parameters, such as the compensation parameters 128 of FIG.7, that are directed toward a particular combination of a specificcamera with a specific flash. Additionally, it would be unnecessary toconstantly overwrite the parameters that are stored in the storageregisters 140, although such overwriting could be employed between thecompensation parameters 124 and the compensation parameters 132 ifdesired.

The alternative embodiment similarly allows the camera 56 to be employedwith a flash 60 despite the modular nature of the camera 56 and despitethe fact that the camera 56 is supplied with the compensation parameters124 that are stored in the storage registers 140 and that are intendedfor use in non-flash circumstances. That is, the modular camera 56 inthe alternative embodiment can still be incorporated into the handheldelectronic device 4 and used in conjunction with the flash 60 whilestill employing the compensation routine 138 supplied with the camera56.

As mentioned above, the exemplary compensation parameters 124, 128, and132 depicted in an exemplary fashion in FIGS. 6-8, are depicted forpurposes of illustration as being scalar values. It is understood,however, that the compensation parameters could be of any form thatcould be usable by the compensation routine 138. That is, thecompensation parameters could, for example, describe algorithms, couldbe constant values for use in mathematical equations, etc.

One example of an alternate implementation of compensation parametersand the compensation routine 138 is in an exemplary compensationapproximation curve 144 depicted generally in FIG. 9. The compensationapproximation curve 144 comprises a first line segment 148, a secondline segment 152, a third line segment 156, and a fourth line segment160 which extend in an exemplary end-to-end fashion in a configurationthat depicts an increasing boost in signal value in conjunction with anincreasing radius of the pixel from a central location on the sensor 68.For instance, the signals from certain of the pixels 108 would beprocessed in accordance with the first line segment 148, and certain ofthe pixels 108 would be processed in accordance with the second, third,or fourth line segments 152, 156, or 160, etc. While only a singleexemplary compensation approximation curve 144 is depicted herein, it isunderstood that separate such compensation approximation curves could beprovided for each of the R pixels 112, the G pixels 116, and the Bpixels 120 for example.

In this regard, it is noted that the R, G, and B pixels 112, 116, and120 can be treated separately from one another with separate subsets ofparameters depending upon the needs of the particular application. Forinstance, a certain set of compensation parameters, i.e., the set ofcompensation parameters 124, 128, and/or 132, could itself comprise an Rcompensation parameter subset, a G compensation parameter subset, and aB compensation parameter subset, for example. Such compensationparameters could be selected, i.e., derived or determined, in accordancewith various parameters and/or to overcome particular shortcomings ofthe camera 56 and/or the flash 60, and particularly could be selected tocompensate for spectral variations that result from off-axis direction104 transmissions of electromagnetic energy from the dies 88 through theabsorption/emission layer 92 of the LED 84. Other implementations willbe apparent.

In accordance with the foregoing, an exemplary flowchart in accordancewith the first embodiment is depicted generally in FIG. 10. The routineprocesses, as at 204, non-flash image signals with the compensationroutine 138 and employing the first compensation parameters, i.e., thecompensation parameters 124. It is then determined, as at 208, whetherthe next operation is a flash operation. If no flash operation isimpending, processing continues, as at 204, such as would occur if thecamera 56 were being employed as a viewfinder or in taking a non-flashphotograph.

On the other hand, if it is determined at 208 that the next operation isa flash operation, the compensation parameters 124 stored in the storageregisters 140 are overwritten with a second set of compensationparameters, such as the compensation parameters 128 that are derived forcompensating the combined effects of the camera 56 and the flash 60. Theincoming image signal from the sensor 68 is then processed, as at 216,employing the second compensation parameters 128. Responsive to theprocessing of the flash image signal at 216, and more particularlyresponsive to the completion of the processing at 216, the secondcompensation parameters 128 stored in the storage registers 140 areoverwritten with the first compensation parameters 124, as at 220.Processing thereafter returns to 204.

Another exemplary flowchart in accordance with the alternativeembodiment is depicted generally in FIG. 11. Processing of a non-flashimage signal with the compensation routine 138 employing thecompensation parameters 124 occurs, as at 304. It is then determined, asat 308, whether the current operation is a flash operation. If it isdetermined, as at 308, that the current operation is not a flashoperation, processing continues to 304, such as would be the case if thecamera 56 were functioning as a viewfinder or in taking a non-flashphotograph.

If, on the other hand, it is determined at 308 that the currentoperation is a flash operation, processing continues to 312 where theflash image signal is further processed with the compensation routine138 employing a set of additional compensation parameters, such as thecompensation parameters 132. Processing thereafter returns to 304.

While specific embodiments of the disclosed and claimed concept havebeen described in detail, it will be appreciated by those skilled in theart that various modifications and alternatives to those details couldbe developed in light of the overall teachings of the disclosure.Accordingly, the particular arrangements disclosed are meant to beillustrative only and not limiting as to the scope of the disclosed andclaimed concept which is to be given the full breadth of the claimsappended and any and all equivalents thereof.

1. A handheld electronic device comprising: an input apparatuscomprising a camera apparatus and being structured to provide input to aprocessor apparatus; an output apparatus structured to receive outputsignals from the processor apparatus and to provide output; the cameraapparatus comprising a camera and a flash; the camera comprising asensor, a camera lens, and a processor system having a lens shadingroutine executable thereon; the flash comprising a light source and aflash lens; the lens shading routine being structured to employcompensation parameters stored in a plurality of storage registers inperforming a processing operation on an image signal from the sensor,the lens shading routine being further structured to be executable onthe processor system to cause the camera apparatus to perform operationscomprising: storing compensation parameters for processing a non-flashimage in the storage registers of the camera; overwriting at least aportion of the storage registers to provide compensation parameters forprocessing a flash image; processing a flash image signal in accordancewith the compensation parameters for processing a flash image; andoverwriting the storage registers to restore the compensation parametersfor processing a non-flash image when processing of the flash imagesignal is completed.
 2. The handheld electronic device of claim 1wherein the operations further comprise: processing a non-flash imagesignal in accordance with the compensation parameters for processing anon-flash image.
 3. The handheld electronic device of claim 2 whereinthe operations further comprise employing as the compensation parametersfor processing a flash image both the compensation parameters forprocessing a non-flash image and a number of additional compensationparameters configured to compensate the image signal for signalvariations attributable to at least a portion of the flash.
 4. Thehandheld electronic device of claim 1, wherein the input apparatusfurther comprises a keypad.
 5. The handheld electronic device of claim1, wherein the input apparatus further comprises a mouse, trackwheel ortrackball.
 6. The handheld electronic device of claim 1, wherein theoutput apparatus further comprises a display to display the processedflash image.
 7. The handheld electronic device of claim 1, wherein theflash lens comprises a Fresnel lens.
 8. The handheld electronic deviceof claim 1, wherein the light source comprises a plurality of lightemitting diodes (LEDs).
 9. The handheld electronic device of claim 1wherein the sensor comprises a plurality of R pixels, a plurality of Gpixels, and a plurality of B pixels distributed about the sensor,wherein the light source comprises a source of electromagnetic energyand an absorption/emission layer, the absorption/emission layeroverlying the source of electromagnetic energy and having a thickness(T) in an on-axis direction away from the source of electromagneticenergy, and wherein the second compensation parameters comprise an Rcompensation parameter subset, a G compensation parameter subset, and aB compensation parameter subset, and the operations further comprise:receiving as a portion of the flash image signal at least one R pixelsignal, at least one G pixel signal, and at least one B pixel signal;individually processing the R, G and B pixel signals with the R, G, andB compensation parameter subsets, respectively; and employing as thecompensation parameters in the R, G, and B compensation parametersubsets compensation parameters that have been selected to compensatefor spectral variations resulting from off-axis transmission ofelectromagnetic energy a greater distance through theabsorption/emission layer than the thickness (T).
 10. A method ofoperating a camera apparatus to process an image signal, the cameraapparatus comprising a camera and a flash, the camera comprising asensor, a camera lens, and a processor system having a lens shadingroutine executable thereon, the flash comprising a light source and aflash lens, the method comprising: storing compensation parameters forprocessing a non-flash image in storage registers of the camera;overwriting at least a portion of the storage registers to providecompensation parameters for processing a flash image; processing a flashimage signal in accordance with the compensation parameters forprocessing a flash image; and overwriting the storage registers torestore the compensation parameters for processing a non-flash imagewhen processing of the flash image signal is completed.
 11. The methodof claim 10, further comprising processing a non-flash image signal inaccordance with the compensation parameters for processing a non-flashimage.
 12. The method of claim 10, further comprising employing as thecompensation parameters for processing a flash image both thecompensation parameters for processing a non-flash image and a number ofadditional compensation parameters configured to compensate the imagesignal for signal variations attributable to at least a portion of theflash.
 13. The method of claim 10, wherein the sensor comprises aplurality of R pixels, a plurality of G pixels, and a plurality of Bpixels distributed about the sensor, wherein the light source comprisesa source of electromagnetic energy and an absorption/emission layer, theabsorption/emission layer overlying the source of electromagnetic energyand having a thickness (T) in an on-axis direction away from the sourceof electromagnetic energy, and wherein the second compensationparameters comprise an R compensation parameter subset, a G compensationparameter subset, and a B compensation parameter subset, and furthercomprising: receiving as a portion of the flash image signal at leastone R pixel signal, at least one G pixel signal, and at least one Bpixel signal; individually processing the R, G and B pixel signals withthe R, G, and B compensation parameter subsets, respectively; andemploying as the compensation parameters in the R, G, and B compensationparameter subsets compensation parameters that have been selected tocompensate for spectral variations resulting from off-axis transmissionof electromagnetic energy a greater distance through theabsorption/emission layer than the thickness (T).
 14. A camera apparatuscomprising: a camera comprising a sensor, a camera lens, and a processorsystem having a lens shading routine executable thereon; a flashcomprising a light source and a flash lens; the lens shading routinebeing structured to employ compensation parameters stored in storageregisters in performing a processing operation on an image signal fromthe sensor, the lens shading routine being further structured to beexecutable on the processor system to cause the camera apparatus toperform operations comprising: storing compensation parameters forprocessing a non-flash image in the storage registers of the camera;overwriting at least a portion of the storage registers to providecompensation parameters for processing a flash image; processing a flashimage signal in accordance with the compensation parameters forprocessing a flash image; and overwriting the storage registers torestore the compensation parameters for processing a non-flash imagewhen processing of the flash image signal is completed.
 15. The cameraapparatus of claim 14 wherein the operations further comprise:processing a non-flash image signal in accordance with the compensationparameters for processing a non-flash image.
 16. The camera apparatus ofclaim 15 wherein the operations further comprise employing as thecompensation parameters for processing a flash image both thecompensation parameters for processing a non-flash image and a number ofadditional compensation parameters configured to compensate the imagesignal for signal variations attributable to at least a portion of theflash.
 17. The camera apparatus of claim 14 wherein the sensor comprisesa plurality of R pixels, a plurality of G pixels, and a plurality of Bpixels distributed about the sensor, wherein the light source comprisesa source of electromagnetic energy and an absorption/emission layer, theabsorption/emission layer overlying the source of electromagnetic energyand having a thickness (T) in an on-axis direction away from the sourceof electromagnetic energy, and wherein the second compensationparameters comprise an R compensation parameter subset, a G compensationparameter subset, and a B compensation parameter subset, and theoperations further comprise: receiving as a portion of the flash imagesignal at least one R pixel signal, at least one G pixel signal, and atleast one B pixel signal; individually processing the R, G and B pixelsignals with the R, G, and B compensation parameter subsets,respectively; and employing as the compensation parameters in the R, G,and B compensation parameter subsets compensation parameters that havebeen selected to compensate for spectral variations resulting fromoff-axis transmission of electromagnetic energy a greater distancethrough the absorption/emission layer than the thickness (T).
 18. Thecamera apparatus of claim 14, wherein the flash lens comprises a Fresnellens.
 19. The camera apparatus of claim 14, wherein the light sourcecomprises a plurality of light emitting diodes (LEDs).
 20. The cameraapparatus of claim 14, further comprising a display to display theprocessed flash image.